<template>
  <div>
    <img
      :src="$route.params.img"
      alt=""
      @click="$router.replace({ name: 'home' })"
    />
  </div>
</template>

<script>
export default {
  name: "My",
};
</script>

<style scoped>
div {
  position:fixed;
  top: 0;
  left: 0;
  z-index: 999;
  width: 100vw;
  height: 100vh;
  background: rgb(0, 0, 0);
}
img {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100vw;
  max-height: 100vh;
}
</style>